public class BlackIgoChessman extends IgoChessman {
    private static BlackIgoChessman instance;

    private BlackIgoChessman() {
        super("Black");
    }

    public static BlackIgoChessman getInstance() {
        if (instance == null) {
            instance = new BlackIgoChessman();
        }
        return instance;
    }

    @Override
    public void display() {
        System.out.println("显示黑色棋子。");
    }
}
